import Vue from "vue";
import VueRouter from "vue-router";
Vue.use(VueRouter);

//webpackChunkName: "about"
const routes = [
  {
    path:"/",
    component:()=>import("../components/product/product.vue")
  },
  {
    path: "/home",
    component: () => import("@/views/home/home.vue"),
  },
  {
    path: "/discover",
    component: () => import("@/views/discover/discover"),
  },
];

const router = new VueRouter({
  routes,
  //abstort 【啊不死 zhuang 可特】
});

export default router;
